<!-- 商品分类 -->
{{ define "base/base_goods_type.html" }}
    <div class="navbar_con">
        <div class="navbar clearfix">
            <div class="subnav_con fl">
                <h1>全部商品分类</h1>	
                <span></span>			
                <ul class="subnav">
                    {{ range .GoodsTypeList }}
					<li><a href="/ttsx/goods/list/{{ .ID }}/1?sort=default" class="{{ .Logo }}">{{ .Name }}</a></li>
                    {{ end }}
                </ul>
            </div>
            <ul class="navlist fl">
                <li><a href="/ttsx/index">首页</a></li>
                <li class="interval">|</li>
                <li><a href="#">手机生鲜</a></li>
                <li class="interval">|</li>
                <li><a href="#">抽奖</a></li>
            </ul>
        </div>
    </div>
{{ end }}


<!-- 新品推荐 -->

{{ define "base/base_goods_new.html" }}
    <div class="l_wrap fl clearfix">
        <div class="new_goods">
            <h3>新品推荐</h3>
            <ul>
                {{ range .ProductRecommendationMap }}
                <li>
                    <a href="/ttsx/goods/detail?id={{ .id }}"><img src="{{ .image }}"></a>
                    <h4><a href="/ttsx/goods/detail?id={{ .id }}">{{ .name }}</a></h4>
                    <div class="prize">￥{{ .price }}</div>
                </li>
                {{ end }}
            </ul>
        </div>
    </div>

{{ end }}